package com.AEWMS.Test;

import com.AEWMS.Utlis.MailSender;

/**
 * @author ths
 * @create 2021/4/3 14:38
 */
public class MailTest {
    public static void main(String[] args) {

        String emailTitle = "学业预警系统验证码";
        String toEmail = "972784674@qq.com";
        String identifyCode = "123456";

        //调用静态方法
        MailSender.sendMail(emailTitle, toEmail, identifyCode);
    }
}
